public class PrintOut {
           	
        public static String getNonePrintOut(String timezone, String finalStartDateTime, String finalEndDateTime, String event, String location, String comments, String rClass, String resource){
        	String noneprintout;
        	
             noneprintout =
            		"BEGIN:VCALENDAR\n" + 
                    "VERSION:2.0\n" +
                    "CALSCALE:GREGORIAN\n" +
                    "METHOD:PUBLISH\n" +
                    "BEGIN:VTIMEZONE\n" + 
                    "TZID:" + timezone + "\n" + 
                    "BEGIN:STANDARD\n" +
                    "TZOFFSETFROM:-1000\n" +
                    "TZOFFSETTO:-1000\n" +
                    "DTSTART:" + finalStartDateTime+ "\n" + 
                    "END:STANDARD\n" +
                    "END:VTIMEZONE\n" +
        		    "BEGIN:VEVENT\n" +
        		    "DTSTART:" + finalStartDateTime + "\n" +
        		    "DTEND:" + finalEndDateTime + "\n" + 
        		    "CLASS:" + rClass+ "\n"+
        		    "DESCRIPTION:" + comments + "\n" + 
        		    "LOCATION:" + location + "\n" +
        		    "RESOURCE:" + resource + "\n" +
        		    "SUMMARY:" + event +"\n" + 
        		    "END:VEVENT\n" +
        		    "END:VCALENDAR";
            
            return noneprintout;
        }
        
        public static String getDailyPrintOut(String timezone, String finalStartDateTime, String finalEndDateTime, String event, String location, String comments, String rClass, String resource) {
        	String dailyprintout;
        	
          dailyprintout =
            		"BEGIN:VCALENDAR\n" + 
                    "VERSION:2.0\n" +
                    "CALSCALE:GREGORIAN\n" +
                    "METHOD:PUBLISH\n" +
                    "BEGIN:VTIMEZONE\n" + 
                    "TZID:" + timezone + "\n" + 
                    "BEGIN:STANDARD\n" +
                    "TZOFFSETFROM:-1000\n" +
                    "TZOFFSETTO:-1000\n" +
                    "DTSTART:19700101T000000\n" + 
                    "END:STANDARD\n" +
                    "END:VTIMEZONE\n" +
        		    "BEGIN:VEVENT\n" +
        		    "DTSTART;TZID=" + timezone + ":" + finalStartDateTime + "\n" + 
        		    "DTEND;TZID=" + timezone + ":" + finalEndDateTime+ "\n" + 
        		    "RRULE:FREQ=DAILY;UNTIL=20261231T000000Z\n" + 
        		    "CLASS:" + rClass+ "\n"+
        		    "DESCRIPTION:" + comments + "\n" + 
        		    "LOCATION:" + location + "\n" +
        		    "RESOURCE:" + resource + "\n" +
        		    "SUMMARY:" + event +"\n" + 
        		    "END:VEVENT\n" +
        		    "END:VCALENDAR";
            
            return dailyprintout;
        }
        
        public static String getMonthlyPrintOut(String timezone, String finalStartDateTime, String finalEndDateTime, String event, String location, String comments, String rClass, String resource) {
        	String monthlyprintout;
        	
          monthlyprintout =
            		"BEGIN:VCALENDAR\n" + 
                    "VERSION:2.0\n" +
                    "CALSCALE:GREGORIAN\n" +
                    "METHOD:PUBLISH\n" +
                    "BEGIN:VTIMEZONE\n" + 
                    "TZID:" + timezone + "\n" + 
                    "BEGIN:STANDARD\n" +
                    "TZOFFSETFROM:-1000\n" +
                    "TZOFFSETTO:-1000\n" +
                    "DTSTART:" + finalStartDateTime + "\n" + 
                    "END:STANDARD\n" +
                    "END:VTIMEZONE\n" +
        		    "BEGIN:VEVENT\n" +
        		    "DTSTART;TZID=" + timezone + ":" + finalStartDateTime + "\n" + 
        		    "DTEND;TZID=" + timezone + ":" + finalEndDateTime + "\n" + 
        		    "RRULE:FREQ=MONTHLY;UNTIL=20261231T000000Z;BYMONTHDAY=12\n" + 
        		    "CLASS:" + rClass+ "\n"+
        		    "DESCRIPTION:" + comments + "\n" + 
        		    "LOCATION:" + location + "\n" +
        		    "RESOURCE:" + resource + "\n" +
        		    "SUMMARY:" + event +"\n" + 
        		    "END:VEVENT\n" +
        		    "END:VCALENDAR";
            
            return monthlyprintout;
        }
        
        public static String getYearlyPrintOut(String timezone, String finalStartDateTime, String finalEndDateTime, String event, String location, String comments, String rClass, String resource) {
        	String yearlyprintout;
        	
           yearlyprintout =
            		"BEGIN:VCALENDAR\n" + 
                    "VERSION:2.0\n" +
                    "CALSCALE:GREGORIAN\n" +
                    "METHOD:PUBLISH\n" +
                    "BEGIN:VTIMEZONE\n" + 
                    "TZID:" + timezone + "\n" + 
                    "BEGIN:STANDARD\n" +
                    "TZOFFSETFROM:-1000\n" +
                    "TZOFFSETTO:-1000\n" +
                    "DTSTART:" + finalStartDateTime + "\n" + 
                    "END:STANDARD\n" +
                    "END:VTIMEZONE\n" +
        		    "BEGIN:VEVENT\n" +
        		    "DTSTART;TZID=" + timezone + ":" + finalStartDateTime + "\n" +
        	    	"DTEND;TZID=" + timezone + ":" + finalEndDateTime + "\n" +
        	    	"RRULE:FREQ=YEARLY;UNTIL=20261231T000000Z\n" + 
        		    "CLASS:" + rClass+ "\n"+
        		    "DESCRIPTION:" + comments + "\n" + 
        		    "LOCATION:" + location + "\n" +
        		    "RESOURCE:" + resource + "\n" +
        		    "SUMMARY:" + event +"\n" + 
        	     	"END:VEVENT\n" +
        	     	"END:VCALENDAR";
                   
            return yearlyprintout;
        }
        
}

